package com.hmjk.health.util;

public class FA_DATA {
	public int index = -1;
	public String id = "";
	public String name;
	public String status;
	public boolean creator;
	public boolean admin;
	
	public FA_DATA(FA_DATA in){
		if(in != null){
		index = in.index;
		id = new String(in.id);
		if(in.name != null)
			name = new String(in.name);
		if(in.status != null)
			status = new String(in.status);
		creator = in.creator;
		admin = in.admin;
		}
	}
	
	public FA_DATA(){
		
	}
	
	public void clear(){
		index = -1;
		id = "";
		name = null;
		status = null;
		creator = false;
		admin = false;
	}
	
	@Override
	public String toString(){
		return "FA_DATA("+id+","+name+")";
	}
}
